<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta content='' name='description'>
<meta content='True' name='HandheldFriendly'>
<meta content='width=device-width, initial-scale=1.0' name='viewport'>
<title>修改个人资料</title>
<jsp:include page="/public/header-meta.jsp"></jsp:include>
</head>
<body id="startbbs">
	<jsp:include page="/public/header.jsp"></jsp:include>
	<div id="alt"></div>
	<div id="wrap">
		<div class="container" id="page-main">
			<div class="row">
				<div class='col-xs-12 col-sm-6 col-md-8'>

					<div class='box'>
						<div class='cell' style="border-bottom-style: none;">
							<a href=" " class="startbbs">${u.uname}</a> <span class="chevron">&nbsp;›&nbsp;</span>
							设置
							<ul class="nav nav-tabs" style="margin-top:10px;">
								<li class="active"><a href="#">个人信息</a></li>
								<li><a href="user!setAvatar? uid=${user.uid}">头像</a></li>
								<li><a href="user!setPsw? uid=${user.uid}">修改密码</a></li>
							</ul>
						</div>

						<div class='inner'>
							<form name="form" action="user!update" class="form-horizontal"
								id="edit_user_313" method="post" novalidate="novalidate">
								<input name=" uid" type="hidden" value="${user.uid}" />

								<div class="form-group">
									<label class="col-sm-3 control-label" for="user_nickname">用户名</label>
									<div class="col-sm-5">
										<input class="form-control" disabled="disabled"
											name="name" size="50" type="text"
											value="${u.uname}" />
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-3 control-label" for="user_email">电子邮件</label>
									<div class="col-sm-5">
										<input class="form-control" id="user_email" name="uemail"
											size="50" type="email" value="${u.uemail}" />
											<span class="error red"></span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-3 control-label" for="user_nickname">昵称</label>
									<div class="col-sm-5">
										<input class="form-control" id="user_nickname" name="uremark"
											size="50" type="text" value="${u.uremark}" />
											<span class="error red"></span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-3 control-label" for="user_homepage">个人主页</label>
									<div class="col-sm-5">
										<input class="form-control" id="user_homepage" name="homepage"
											size="50" type="text" value="${u.homepage}" />
									</div>
								</div>
								<div class='form-group'>
									<div class="col-sm-offset-3 col-sm-9">
										<button type="button" class="btn btn-primary"
											id="save_profile">保存设置</button>
									</div>
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>
<jsp:include page="/public/footer.jsp"></jsp:include>